#include <stdio.h>
#include <stdlib.h>

#define SIZE 128
int main(int argc, char* argv[]) {
	if(argc<3) exit(1);
	FILE* fr=NULL;
	FILE* fw=NULL;
	unsigned char ptr[SIZE];
	fr = fopen(argv[1], "r");
	fw= fopen(argv[2],"w");
	size_t fr_size=0;
	while ((fr_size= fread(ptr, sizeof(ptr[0]), SIZE, fr)) > 0){
		fwrite(ptr,sizeof(ptr[0]),fr_size,fw);
	}
	fclose(fr);
	fclose(fw);
	return 0;
}
